package com.ebanma.cloud.usertestall.domain.common;

import lombok.Getter;

@Getter
public enum ErrorCode {
    //错误码
    SUCCESS("00000", "成功"), PARAM_ERROR("A0400", "请求参数错误"), SYSTEM_ERROR("B0001", "系统执行出错");
    /**
     * 编码
     */
    private final String code;

    /**
     * 描述信息
     */
    private final String desc;

    ErrorCode(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }


}
